﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MS.InformationManagement.Presenter.Support;

namespace MS.InformationManagement.Presenter.ShippingControByUser
{
    public class ShippingControByUserPresenter: BasePresenter<IShippingControByUserView>
    {
        #region Constructors

        public ShippingControByUserPresenter(IShippingControByUserView view) : base(view) { }

        #endregion

        #region Public Methods

        public void HandleLoad()
        {
            View.foundRadicados = MS.InformationManagement.BLL.ShippingControByUser.ShippingControByUser.SearchRadicados();   
            View.Show();
        }


        public void HandleSearch()
        {
            View.foundRadicados = MS.InformationManagement.BLL.ShippingControByUser.ShippingControByUser.SearchRadicados(View.IdRadicado);
            View.Show();
        }

        #endregion
    }
}
